package edu.cmu.cs214.hw9.facelook;

/* A database shard is a horizontal partition in a database or search engine. 
 * Each individual partition is referred to as a shard or database shard. 
 * 
 * 
 * Horizontal partitioning is a database design principle whereby rows of a database 
 * table are held separately, rather than splitting by columns (which is what
 *  normalization and vertical partitioning do, to differing extents). 
 *  Each partition forms part of a shard, which may in turn be located on a separate
 *   database server or physical location.
 * 
 * > It might not be a bad idea to implement this using hash table to values and keys
 * > Recommended # of Shards: 3-4
 * 
 * 
 * */
